3fd4a012861dfb8b7256f5412063a4ebb76043ee,source/net/yacy/search/index/MetadataRepository.java,MetadataRepository,exists,#number[]#,222
Before Change
public boolean exists(final byte[] urlHash) {
if (urlHash == null) return false;
try {
if (this.remoteSolr != null && this.remoteSolr.exists(ASCII.String(urlHash))) {
return true;
}
} catch (final Throwable e) {
After Change
public boolean exists(final byte[] urlHash) {
if (urlHash == null) return false;
if (this.localSolr != null || this.remoteSolr != null) {
String urls = ASCII.String(urlHash);
try {
if (this.localSolr != null && this.localSolr.exists(urls)) {
return true;